/**
 * @product: SOD
 * @copyright: FSAI-南征北战信息科技
 * @filename: com.sod.app.mapper.base.BaseDao.java
 *
 * @link: Http://www.fastsai.com
 * @jdkv: Jdk 1.8
 */
package com.fsai.cms.base.dao;

import java.util.List;
import java.util.Map;

/**
 *
 * @project: sod-web-app
 *
 * @author: JaffeHe
 * @email: JaffeHe@foxmail.com
 * @date: 2020-07-14 10:06
 *
 * @ChangeLog<br/>
 * 				Developer Date Comment <br/>
 */
public interface IBaseDao<T> {

	//增
	public int save(String mapper, Map<String, ?> parameter);

	//改
	public int update(String mapper, Map<String, ?> parameter);

	//删
	public int delete(String mapper, Map<String, ?> parameter);

	//查一个
	public T find(String mapper, Map<String, ?> parameter);

	//查一堆
	public List<T> findList(String mapper, Map<String, ?> parameter);

}
